package com.sanyu.lovefishing.data;

public class ApiFactory {

    private ApiRepository mApiRepository;

    private ApiFactory() {
        mApiRepository=new ApiRepository();
    }

    public static ApiFactory getInstance() {
        return Holder.M_API_FACTORY;
    }

    public static final class Holder{
        private static final ApiFactory M_API_FACTORY =new ApiFactory();
    }

    public ApiRepository getApiRepository(){
        return mApiRepository;
    }
}
